<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="shortcut icon" href="http://cicada-news.oss-cn-hangzhou.aliyuncs.com/cicada.ico" />
	<link rel="stylesheet" href="auth.css">
	<title>新闻资讯后台登录</title>
</head>
<body>
<div id="setcolor" class="lowin">
	<div class="lowin-brand">
		<img src="http://cicada-news.oss-cn-hangzhou.aliyuncs.com/kodinger.jpg" alt="logo">
	</div>
	<div class="lowin-wrapper">
		<div class="lowin-box lowin-login">
			<div class="lowin-box-inner">
				<form action="http://localhost:8080${basePath}/login" method="post">
					<p>欢迎登录</p>
					<div class="lowin-group">
						<label>Email <a href="#" class="login-back-link">登录?</a></label>
						<input type="email" autocomplete="email" name="email" class="lowin-input">
					</div>
					<div class="lowin-group password-group">
						<label>Password <a href="#" class="forgot-link">忘记密码?</a></label>
						<input type="password" name="password" autocomplete="current-password" class="lowin-input">
					</div>
					<button id="login-submit" type="submit" class="lowin-btn login-btn">
						登录
					</button>

					<div class="text-foot">
						还没有账号? <a href="" class="register-link">注册</a>
					</div>
				</form>
			</div>
		</div>

		<div class="lowin-box lowin-register">
			<div class="lowin-box-inner">
				<form>
					<p>欢迎加入到这个大家庭之中</p>
					<div class="lowin-group">
						<label>Name</label>
						<input type="text" name="name" autocomplete="name" class="lowin-input">
					</div>
					<div class="lowin-group">
						<label>Email</label>
						<input type="email" autocomplete="email" name="email" class="lowin-input">
					</div>
					<div class="lowin-group">
						<label>Password</label>
						<input type="password" name="password" autocomplete="current-password" class="lowin-input">
					</div>
					<button class="lowin-btn">
						注册
					</button>

					<div class="text-foot">
						已有账号? <a href="" class="login-link">登录</a>
					</div>
				</form>
			</div>
		</div>
	</div>

	<footer class="lowin-footer">
		likun@asterly.cn @版权所有 <a href="http://www.asterly.cn/" target="_blank" title="技术支持">技术支持</a>
	</footer>
</div>

<script src="auth.js"></script>
<script>
    Auth.init({
        login_url: '${basePath}/login',
        forgot_url: '/signin'
    });
</script>
</body>
</html>